<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<link rel="Bookmark" href="../../imgs/favicon.ico"/>
	<link rel="Shortcut Icon" href="../../imgs/favicon.ico"/>
	<link rel="stylesheet" type="text/css" href="../../static/h-ui/css/H-ui.min.css"/>
	<link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/H-ui.admin.css"/>
	<link rel="stylesheet" type="text/css" href="../../lib/Hui-iconfont/1.0.8/iconfont.css"/>
	<link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/skin/default/skin.css" id="skin"/>
	<link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/style.css"/>
	<title>商城</title>
</head>
<body>
<article class="cl pd-20">
	<form class="form form-horizontal" id="form-member-add">
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<span class="c-red">*</span>
				商品编号：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" id="gno"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<span class="c-red">*</span>
				折扣率：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" id="per" placeholder="如75，代表七五折，默认100" value="100"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<span class="c-red">*</span>
				折扣开始时间：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text Wdate" id="start_time"
					   onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'end_time\')||\'%y-%M-%d %h:%i:$s\'}'})"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<span class="c-red">*</span>
				折扣结束时间：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text Wdate" id="end_time"
					   onfocus="WdatePicker({minDate:'#F{$dp.$D(\'start_time\')||\'%y-%M-%d %h:%i:$s\'}'})"/>
			</div>
		</div>
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
				<input class="btn btn-primary radius" type="button"
					   value="&nbsp;&nbsp;提 交&nbsp;&nbsp;" onclick="modify();"/>
			</div>
		</div>
	</form>
</article>

<!--自定义弹窗-->
<span id="msgPop"></span>
</body>
</html>


<script type="text/javascript" src="../../lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="../../lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="../../static/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="../../static/h-ui.admin/js/H-ui.admin.page.js"></script>
<script type="text/javascript" src="../../lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="../../js/config.js"></script>
<script type="text/javascript" src="../../js/view.js"></script>
<script type="text/javascript" src="../../js/erqi/cheap.js"></script>
<script type="text/javascript">
	var id = getParamByUrl('id');
	(function () {
		if (id) {
			getOne(id);
		}
	})();
</script>